<?php
	class CommonController extends Controller{
		public function __init(){
			if(!isset($_SESSION['user'])){
				// echo '11';
				go(U('Login/login'));
			}
		}
	}
	
?>